.problemContent {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  height: 100%;
}

.problemTitle {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.problemId {
  color: #666;
  font-size: 18px;
}

.problemDifficulty {
  margin-left: auto;
}

.problemInfo {
  color: #666;
  margin-bottom: 16px;
  display: flex;
  gap: 24px;
}

.problemTags {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.problemDescription {
  margin-bottom: 24px;
}

.sampleSection {
  margin-bottom: 24px;
}

.sampleTitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.4;
}

.sampleBox {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 4px;
  font-family: monospace;
  white-space: pre-wrap;
  margin: 8px 0;
}

.problemHint {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* MarkdownEditor 样式覆盖 */
.problemContent :global(.w-md-editor) {
  height: auto !important;
}

.problemContent :global(.w-md-editor-preview) {
  position: static !important;
}

.problemContent :global(.w-md-editor-preview-show) {
  height: 100% !important;
}

.problemContent :global(.w-md-editor-preview-edit) {
  display: none !important;
}

.problemContent :global(.w-md-editor-toolbar) {
  display: none !important;
}

.problemContent :global(.w-md-editor-input) {
  display: none !important;
}

/* Markdown 二级标题样式覆盖 */
.problemContent :global(.w-md-editor-preview h2) {
  font-size: 22px !important;
  line-height: 1.4 !important;
  margin-top: 16px !important;
  margin-bottom: 12px !important;
} 